Optimal. Leaf size=86 \[ -\frac {a^5 x^{-5 n}}{5 n}-\frac {5 a^4 b x^{-4 n}}{4 n}-\frac {10 a^3 b^2 x^{-3 n}}{3 n}-\frac {5 a^2 b^3 x^{-2 n}}{n}-\frac {5 a b^4 x^{-n}}{n}+b^5 \log (x) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.04, antiderivative size = 86, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 2, integrand size = 17, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.118, Rules used = {266, 43} \[ -\frac {10 a^3 b^2 x^{-3 n}}{3 n}-\frac {5 a^2 b^3 x^{-2 n}}{n}-\frac {5 a^4 b x^{-4 n}}{4 n}-\frac {a^5 x^{-5 n}}{5 n}-\frac {5 a b^4 x^{-n}}{n}+b^5 \log (x) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 43
Rule 266
Rubi steps
\begin {align*} \int x^{-1-5 n} \left (a+b x^n\right )^5 \, dx &=\frac {\operatorname {Subst}\left (\int \frac {(a+b x)^5}{x^6} \, dx,x,x^n\right )}{n}\\ &=\frac {\operatorname {Subst}\left (\int \left (\frac {a^5}{x^6}+\frac {5 a^4 b}{x^5}+\frac {10 a^3 b^2}{x^4}+\frac {10 a^2 b^3}{x^3}+\frac {5 a b^4}{x^2}+\frac {b^5}{x}\right ) \, dx,x,x^n\right )}{n}\\ &=-\frac {a^5 x^{-5 n}}{5 n}-\frac {5 a^4 b x^{-4 n}}{4 n}-\frac {10 a^3 b^2 x^{-3 n}}{3 n}-\frac {5 a^2 b^3 x^{-2 n}}{n}-\frac {5 a b^4 x^{-n}}{n}+b^5 \log (x)\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.08, size = 69, normalized size = 0.80 \[ b^5 \log (x)-\frac {a x^{-5 n} \left (12 a^4+75 a^3 b x^n+200 a^2 b^2 x^{2 n}+300 a b^3 x^{3 n}+300 b^4 x^{4 n}\right )}{60 n} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.57, size = 77, normalized size = 0.90 \[ \frac {60 \, b^{5} n x^{5 \, n} \log \relax (x) - 300 \, a b^{4} x^{4 \, n} - 300 \, a^{2} b^{3} x^{3 \, n} - 200 \, a^{3} b^{2} x^{2 \, n} - 75 \, a^{4} b x^{n} - 12 \, a^{5}}{60 \, n x^{5 \, n}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.25, size = 77, normalized size = 0.90 \[ \frac {60 \, b^{5} n x^{5 \, n} \log \relax (x) - 300 \, a b^{4} x^{4 \, n} - 300 \, a^{2} b^{3} x^{3 \, n} - 200 \, a^{3} b^{2} x^{2 \, n} - 75 \, a^{4} b x^{n} - 12 \, a^{5}}{60 \, n x^{5 \, n}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.02, size = 97, normalized size = 1.13 \[ \left (b^{5} {\mathrm e}^{5 n \ln \relax (x )} \ln \relax (x )-\frac {5 a^{4} b \,{\mathrm e}^{n \ln \relax (x )}}{4 n}-\frac {10 a^{3} b^{2} {\mathrm e}^{2 n \ln \relax (x )}}{3 n}-\frac {5 a^{2} b^{3} {\mathrm e}^{3 n \ln \relax (x )}}{n}-\frac {5 a \,b^{4} {\mathrm e}^{4 n \ln \relax (x )}}{n}-\frac {a^{5}}{5 n}\right ) {\mathrm e}^{-5 n \ln \relax (x )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.59, size = 88, normalized size = 1.02 \[ b^{5} \log \relax (x) - \frac {a^{5}}{5 \, n x^{5 \, n}} - \frac {5 \, a^{4} b}{4 \, n x^{4 \, n}} - \frac {10 \, a^{3} b^{2}}{3 \, n x^{3 \, n}} - \frac {5 \, a^{2} b^{3}}{n x^{2 \, n}} - \frac {5 \, a b^{4}}{n x^{n}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 1.43, size = 88, normalized size = 1.02 \[ b^5\,\ln \relax (x)-\frac {a^5}{5\,n\,x^{5\,n}}-\frac {5\,a^2\,b^3}{n\,x^{2\,n}}-\frac {10\,a^3\,b^2}{3\,n\,x^{3\,n}}-\frac {5\,a\,b^4}{n\,x^n}-\frac {5\,a^4\,b}{4\,n\,x^{4\,n}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________